package com.carpedil.movie.entity;

import lombok.Data;

import javax.persistence.*;

/** @author Administrator */
@Data
@Entity
@NamedStoredProcedureQuery(
    name = "movie_pro",
    procedureName = "updateMovieNum",
    parameters = {
      @StoredProcedureParameter(mode = ParameterMode.IN, name = "movieName", type = String.class),
      @StoredProcedureParameter(mode = ParameterMode.OUT, name = "n", type = String.class),
    })
public class Movie {
  @Id private Integer id;
  private String movieName;
  private Integer num;
}
